//
// Created by bjliuyong on 2021/7/3.
//

#ifndef GC_UNIVERSE_H
#define GC_UNIVERSE_H

#include "../gc_interface/CollectedHeap.h"
#include "allocation.h"

class Universe : public AllStatic {
private:
    // The particular choice of collected heap.
    static CollectedHeap *_collectedHeap;

public:

    // The particular choice of collected heap.
    static CollectedHeap *heap() { return _collectedHeap; }

    static void initialize_heap();
};


#endif //GC_UNIVERSE_H
